class Ex8
{
	public static void main(String args[])
	{
		int count,X;
		
	X=1;
	count=1;
	while(count<=10)
		{
		X=X*count;
		System.out.println(count+"\t"+X);
		count++;
		}
	}	
}
	